using aichat.Entities;

namespace aichat.Services
{
    public interface IPaymentService
    {
        Task<PaymentRecord> CreatePaymentAsync(int userId, VipType vipType, string paymentMethod);
        Task<bool> ProcessPaymentAsync(string orderId, string transactionId);
        Task<PaymentRecord?> GetPaymentByOrderIdAsync(string orderId);
        Task<List<PaymentRecord>> GetUserPaymentsAsync(int userId);
        Task<decimal> GetVipPriceAsync(VipType vipType);
        Task<string> GenerateAlipayUrlAsync(PaymentRecord payment);
    }
} 